<div >
	<table border="1" >
		<tr><th>用户名</th><th>注册日期</th><th>最后登录</th><th>提问</th><th>回答</th><th>操作</th></tr>
	<?php foreach ($users as $user): ?>
		<tr>
			<td><?php echo $linker->userManageLink($user['User']) ?> </td>
			<td><?php echo $user['User']['created'] ?></td>
			<td><?php echo $user['User']['last_login'] ?></td>
			<td><?php echo sizeof($user['Question']) ?></td>
			<td><?php echo sizeof($user['Answer']) ?></td>
			<td>
				<?php if ($user['User']['is_blocked']==1) {
					echo $html->link('BLOCK', '/manage/block_user'."?id={$user['User']['id']}"); 
				}else{
					echo $html->link('UNBLOCK', '/manage/unblock_user'."?id={$user['User']['id']}");
				} ?>

			</td>
		</tr>

	<?php endforeach ?>
	</table>
</div>

	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));
	?>	</p>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
|
		<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>